<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%
	String path = request.getContextPath();
	String serverName = request.getServerName();
	if (path != null && path.equals("/")) {
		path = "";
	}
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	pageContext.setAttribute("basePath", basePath);
%>
<link href="<%=basePath%>admin/styles/style.css" rel="stylesheet"
	type="text/css" />
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>System operation menu</title>
		<link rel="StyleSheet" href="frame.css" type="text/css" />
		<link rel="StyleSheet" href="dtree/dtree.css" type="text/css" />
		<script type="text/javascript" src="dtree/dtree.js"></script>

		<style type="text/css">
body {
	-moz-user-select: none;
	hutia: expression(this . onselectstart = function() { return(false)
}

);
Windsor:expression (document.body.onselectstart =document.body.oncontextmenu
	=function(){return false;
	
}
);
}
</style>
		<script language="JavaScript">document.oncontextmenu=function(e){return false;}</script>
	</head>

	<body topmargin="3" leftmargin="3" rightmargin="0" bottommargin="0"
		style="z-index: auto;">

		<div>
			<ul>
				<c:forEach items="${sessionScope.sysAdmin.events}" var="event">
				   
					<c:if test="${event.pid eq 0}">
					<li class="li_left">
						<img src="${pageScope.basePath}admin/images/tongtech_jiahao.gif" />
						<a href="${pageScope.basePath}${event.href}" target="mainRight" > ${event.name} <a>
						<c:forEach items="${sessionScope.sysAdmin.events}" var="event1">
				    		<c:if test="${event1.pid eq event.id}">
				    		  <li class="li_left02"><img src="${pageScope.basePath}admin/images/tongtech_jian.gif" /><a href="${pageScope.basePath}${event1.href}" target="mainRight" > 
				    		   ${event1.name} </a></li>
				        </c:if>
				        </c:forEach>
					</li>
					</c:if>
				</c:forEach>


			</ul>
		</div>




	</body>
</html>
